package com.sdy.supermarket.biz.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author hyh
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
public class IpApplyListVo {

    private Integer id;

    private String applyNo;

    private String name;

    private String ipId;

    private List<String> ipList = new ArrayList<>();

    private Integer userId;

    private String userName;

    private String userDept;

    private Integer state;

    /**
     * 节点状态,以此判断能否审核订单
     */
    private Integer result;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

}
